Direction cosines and direction ratios of a line